The standard error codes returned by the HSM to the Host are listed in the table. Details of which error codes are applicable to each command are documented in Chapter 2.
|
Code |
Description |
|
00 |
No errors. |
|
01 |
Verification failure or warning of imported key parity error |
|
02 |
Key inappropriate length for algorithm |
|
04 |
Invalid key type code. |
|
05 |
Invalid key length flag. |
|
10 |
Source key parity error. |
|
11 |
Destination key parity error or key all zeros |
|
12 |
Contents of user storage not available. Reset, power-down or overwrite. |
|
13 |
Master Key parity error. |
|
14 |
PIN encrypted under LMK pair 02-03 is invalid. |
|
15 |
Invalid input data (invalid format, invalid characters, or not enough data provided). |
|
16 |
Console or printer not ready or not connected. |
|
17 |
HSM not in the Authorised state, or not enabled for clear PIN output, or both. |
|
18 |
Document format definition not loaded. |
|
19 |
Specified Diebold Table is invalid. |
|
20 |
PIN block does not contain valid values. |
|
21 |
Invalid index value, or index/block count would cause an overflow condition. |
|
22 |
Invalid account number. |
|
23 |
Invalid PIN block format code. |
|
24 |
PIN is fewer than 4 or more than 12 digits in length. |
|
25 |
Decimalisation table error. |
|
26 |
Invalid key scheme |
|
27 |
Incompatible key length |
|
28 |
Invalid key type |
|
29 |
Key function not permitted |
|
30 |
Invalid reference number. |
|
31 |
Insufficient solicitation entries for batch. |
|
33 |
LMK key change storage is corrupted. |
|
40 |
Invalid checksum. |
|
41 |
Internal hardware/software error: bad RAM, invalid error codes, etc. |
|
42 |
DES failure. |
|
49 |
Secret key error, report to supervisor |
|
51 |
Invalid Key Block Type |
|
67 |
Command not licenced |
|
68 |
Command has been disabled |
|
69 |
PIN block has been disabled |
|
74 |
Invalid digest info syntax (no hash mode only) |
|
75 |
Invalid public key /secret key pair |
|
76 |
Public key length error |
|
77 |
Clear data block error |
|
78 |
Secret key length error |
|
79 |
Hash algorithm object identifier error |
|
80 |
Data length error. The amount of MAC data (or other data) is greater than or less than the expected amount. |
|
81 |
Invalid Key Block Type |
|
82 |
Invalid check value length |
|
83 |
Key block format error |
|
84 |
Key block check value error |
|
85 |
Invalid OAEP Mask Generation Function |
|
86 |
Invalid OAEP MGF Hash Function |
|
87 |
OAEP Parameter Error |
|
90 |
Data parity error in the request message received by the HSM. |
|
91 |
Longitudinal Redundancy Check (LRC) character does not match the value computed over the input data (when the HSM has received a transparent async packet). |
|
92 |
The Count value (for the Command/Data field) is not between limits, or is not correct (when the HSM has received a transparent async packet). |